﻿@{
    ViewBag.Title = "SteelEdit";
}
@model CRM.Admin.Contracts.Dto.Customer.SteelDto
@section head
{
    <script src="@Url.Content("~/ScriptPlugin/validate/validate.js")"></script>
    <link href="@Url.Content("~/ScriptPlugin/validate/validate.css")" rel="stylesheet" />
    <script type="text/javascript" src="@Url.Content("~/Scripts/form2json.js")"></script>
    <script type="text/javascript">
        function SaveData(index) {
            if (K.Validate())
            {
                K.AjaxJson("@Url.Content("~/Customer/Steel/SteelUpdate")", $("#steelForm").serializeJson(), function (result) {
                    parent.K.layer.callback(index, result);
                    parent.K.layer.close(index);
                });
            }
        }
    </script>
}
<form action="" id="steelForm">
    <div class="content-form" style="height:100%">
        <table class="content-table">
            <tr>
                <th><span>钢厂名称</span></th>
                <td>
                    <input type="text" data-validate-option="isNull" id="Name" name="Name" value="@Model.Name" />
                    <input type="hidden" id="Id" name="Id" value="@Model.Id" />
                </td>
                <th></th>
                <td></td>
            </tr>
        </table>
    </div>
</form>
